package com.heima.model.shop.pojos;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * storeUser
 * </p>
 * @author itheima
 */
@Data
@TableName("tb_store_user")
public class StoreUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
	private Long id; //id



    @ApiModelProperty("用户名")
    @TableField("username")
	private String username;//用户名

    @ApiModelProperty("密码")
    @TableField("password")
	private String password;//密码

    @ApiModelProperty("姓名")
    @TableField("realname")
	private String realname;//姓名

    @ApiModelProperty("手机")
    @TableField("phone")
	private String phone;//手机

    @ApiModelProperty("店铺id")
    @TableField("store_id")
	private Long storeId;//店铺id

    @ApiModelProperty("是否是管理员")
    @TableField("is_admin")
	private String isAdmin;//是否是管理员



}
